package com.geek2.supermarket.service;

import com.geek2.supermarket.dao.ProviderMapper;
import com.geek2.supermarket.pojo.SmbmsProvider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ProviderServiceImpl implements ProviderService {

    @Autowired
    private ProviderMapper providerMapper;

    @Override
    public List<SmbmsProvider> queryAll() {

        return providerMapper.queryAll();
    }
}
